$OpenBSD: patch-lib_module_js,v 1.3 2014/07/10 19:53:30 landry Exp $
--- lib/module.js.orig	Fri May  2 02:47:47 2014
+++ lib/module.js	Thu Jul 10 16:15:20 2014
@@ -510,6 +510,8 @@ Module._initPaths = function() {
 
   var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node')];
 
+  paths.unshift(path.resolve('${TRUEPREFIX}', 'lib', 'node_modules'));
+
   if (homeDir) {
     paths.unshift(path.resolve(homeDir, '.node_libraries'));
     paths.unshift(path.resolve(homeDir, '.node_modules'));
